﻿using System;
using System.Data;
using Models.DTO.Api;
/* ********************************************************************************
 * 名称：OthpayRecord
 * 描述：第三方对账单记录表  数据库表（本类由CodeSmith软件生成生成）
 * 创建人：HFL
 * 创建日期：2020-06-29 15:00:55
 * 修改人：
 * 修改日期：
 * *******************************************************************************/
namespace WPay.Domain.Model.DTOs.Parms
{
    /// <summary>
    /// 第三方对账单记录表 
    /// </summary>
    public class OthpayRecordParms:BaseParmsDTO
    {
        /// <summary>
        /// 
        /// </summary>
        public Int32 Stt { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string ID { get; set; }
        /// <summary>
        /// 企业编号
        /// </summary>
        public string CpnID { get; set; }
        /// <summary>
        /// 收款账户
        /// </summary>
        public string ReceivablesAccount { get; set; }
        /// <summary>
        /// 账单日期
        /// </summary>
        public DateTime StatementDate { get; set; }
        /// <summary>
        /// 交易时间
        /// </summary>
        public DateTime PayTieme { get; set; }
        /// <summary>
        /// 交易小时
        /// </summary>
        public Int32 PayHour { get; set; }
        /// <summary>
        /// 门店编号
        /// </summary>
        public string StoreNumber { get; set; }
        /// <summary>
        /// 收银机号
        /// </summary>
        public string CashRootNumber { get; set; }
        /// <summary>
        /// 收银员号
        /// </summary>
        public string CashPeopleNumber { get; set; }
        /// <summary>
        /// 交易描述
        /// </summary>
        public string PayDescribtion { get; set; }
        /// <summary>
        /// 支付方式
        /// </summary>
        public string PayMode { get; set; }
        /// <summary>
        /// 商户订单号
        /// </summary>
        public string MerchantNo { get; set; }
        /// <summary>
        /// 第三方订单号
        /// </summary>
        public string OthNo { get; set; }
        /// <summary>
        /// 支付渠道
        /// </summary>
        public string PayChannel { get; set; }
        /// <summary>
        /// 顾客id
        /// </summary>
        public string CustomerId { get; set; }
        /// <summary>
        /// 交易总金额
        /// </summary>
        public decimal PayMoney { get; set; }
        /// <summary>
        /// 交易状态
        /// </summary>
        public Int32 PayState { get; set; }
        /// <summary>
        /// 交易类型
        /// </summary>
        public Int32 PayType { get; set; }
        /// <summary>
        /// 第三方退款订单号
        /// </summary>
        public string OthRerundNo { get; set; }
        /// <summary>
        /// 商户退款订单号
        /// </summary>
        public string MerchantRefundNo { get; set; }
        /// <summary>
        /// 商户退款订单号
        /// </summary>
        public string RefundType { get; set; }
        /// <summary>
        /// 退款状态
        /// </summary>
        public Int32 RefundState { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 下载时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
